import List from '@/views/topic/List.vue'

const topicPath = {
  name: 'Topic',
  path: '/topic',
  component: () => import('@/views/topic/Index.vue'),
  children: [
    { path: '', component: List },
    { path: 'list', component: List },
    { path: 'add', component: () => import('@/views/topic/Add.vue') },
    { path: 'update/:id', component: () => import('@/views/topic/Update.vue'), props: true }
  ]
}

export default topicPath
